package top.lishuoboy.springmvc.a2;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@Slf4j
@RequestMapping("a2")
public class HelloWorld {

    @RequestMapping("/hello")
    private String hello() {
        log.info("hello");
        return "a2/hello";
    }
}
